package com.cskaoyan.service;

import com.cskaoyan.bean.BaseData;
import com.cskaoyan.bean.bo.TopicParam;
import com.cskaoyan.bean.bo.WxBaseParam;
import com.cskaoyan.bean.pojo.MallTopic;
import com.cskaoyan.bean.vo.RelatedTopicVO;
import com.cskaoyan.bean.vo.TopicListVO;
import com.cskaoyan.bean.vo.WxTopicDetailVO;

import java.util.List;

/**
 * @author JJ
 * @description TopicService专题接口
 * @time 2021/7/9 17:43
 */
public interface TopicService {
    BaseData<MallTopic> listTopic(TopicParam param);

    Integer createTopic(MallTopic param);

    List<MallTopic> queryTopic(MallTopic param);

    Integer updateTopic(MallTopic param);

    Integer deleteTopic(MallTopic param);

    WxTopicDetailVO queryMallTopicById(Integer id);

    TopicListVO queryTopicListByPageAndSize(WxBaseParam param);

    RelatedTopicVO getRelatedTopic(Integer id);
}
